/**
 * A abstract class that holds arguments for both Query and Agent.
 * @author Markus Sköld (oi11msd)
 */
import java.util.Stack;

public abstract class Signal {
	public int nrOfJumps;
	public Stack<Node> visited = new Stack<Node>();
	protected Node node;
	protected Network network;

	/**
	 * Creates the signal and sets the numberOfJumps for 
	 * agent and query to zero.
	 * @param node a Node
	 * @param network a Network
	 */
	public Signal(Node node, Network network){
		this.node = node;
		this.network = network;
		nrOfJumps = 0;
	}
	/**
	 * A abstract method move that is declared in query and agent.
	 */
	public abstract void move();

}


